//
//  NYMember.h
//  NOAHWM
//
//  Created by Ryan on 13-5-14.
//  Copyright (c) 2013年 Ryan. All rights reserved.
//

#import <Foundation/Foundation.h>

/**
 个人信息接口数据返回
 {"comper_point":"0","account_mobile":"00000000000","user_name":"","result":"1","account_address":"","fp_mobile":"","fp_name":"测试","account_status":"注册会员","member_card_type":"非会员","account_name":"hello"}
 */

typedef enum {
    kMemberVisitor = 0,
    kMemberRegister,
    kMemberAuthentication
}MemberType;

@interface NYMember : NSObject<NSCoding>

@property (nonatomic, copy) NSString *accountId;        //客户id
@property (nonatomic, copy) NSString *accountName;      //客户姓名
@property (nonatomic, copy) NSString *memberCardType;   //会员卡类型
@property (nonatomic, copy) NSString *recordTypeName;   //客户类型
@property (nonatomic, copy) NSString *userName;         //用户名
@property (nonatomic, copy) NSString *phoneNum;         //用户手机号
@property (nonatomic, copy) NSString *dynPwd;           //用户动态验证码

@property (nonatomic, copy) NSString *status;           //客户状态
@property (nonatomic, copy) NSString *is_gesture_password;  //是否开启手势密码
@property (nonatomic, copy) NSString *gesture_password; //手势密码
@property (nonatomic, copy) NSString *is_auth;          //用户是否申请过认证
@property (nonatomic, copy) NSString *loginLogId;       //

@property (nonatomic, copy) NSString *address;          //寄送地址

@property (nonatomic, copy) NSString *comper_point;     //
@property (nonatomic, copy) NSString *custom_service_phone; //400客户电话
@property (nonatomic, copy) NSString *fp_mobile;        //理财师手机号
@property (nonatomic, copy) NSString *fp_name;          //理财师姓名
@property (nonatomic, copy) NSString *roleId;           //用户权限 001-游客 002-注册会员 003-认证会员
@property (nonatomic, copy) NSString *userIcon;

@property (nonatomic, assign) MemberType memberType;
@property (nonatomic, retain) NSNumber *remind_count;

- (BOOL)gestureOpen;

@end
